package com.ely.message.sms.service;

import com.ely.message.sms.dto.SmsInfo;
import com.ely.message.sms.listener.MemberPhoneCodeListener;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
public class test {
    @Resource
    MemberPhoneCodeListener memberPhoneCodeListener;

    @Test
    public void testOne(){
        memberPhoneCodeListener.onMessage(new SmsInfo("17671069076","7777"));
    }
}
